package cn.fzkj.gulimall.product.service;

import cn.fzkj.gulimall.product.vo.AttrGroupRelationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.fzkj.common.utils.PageUtils;
import cn.fzkj.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author chenxin
 * @email chenxin@gmail.com
 * @date 2022-02-19 22:47:32
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /** 删除属性分组和属性的关联关系 */
    boolean deleteAttrGroupRelations(List<AttrGroupRelationVo> relationVos);

    /** 批量保存属性和分组的关联关系 */
    boolean saveBatch(List<AttrGroupRelationVo> attrGroupRelationVo);
}

